/*
 * @Author       : xiaoxiaoguai
 * @Date         : 2025-05-20 16:42:12
 * @LastEditors  : Please set LastEditors
 * @LastEditTime : 2025-06-23 10:57:31
 * @Description  : 
 */
import api from './api'

/**
 * 基本信息 
 */
export function userGetUserInfo(data) {
  return api.get('/member/user/get-info', data, { login: true })
}

/**
 * 获取菜单
 */
export function mineService(data) {
  return api.get('/service/list', data, { login: true })
}

/**
 * 获取内容 
 */
export function mineServiceContent(data) {
  return api.get('/service/content', data, { login: true })
}


/**
 * save 
 */
export function userEdit(data) {
  return api.post('/member/user/update-nickname', data, { login: true })
}


/**
 * balanceGetBillList 
 */
export function balanceGetBillList(data) {
  return api.get('/member/user/getBill', data, { login: true })
}




/**
 * 充值列表 
 */
export function balanceGetMoneyList(data) {
  return api.get('/recharge/getMoneyList', data, { login: true })
}

/**
 * 充值 
 */
export function balanceRecharge(data) {
  return api.post('/member/user/recharge', data, { login: true })
}


export function vipCardPage(data) {
  return api.get('/vip-card/page', data, { login: true })
}



export function createVipCardOrder(data) {
  return api.post('/order/createVipCardOrder', data, { login: true })
}
